﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="XMLSchema1"
    targetNamespace="http://tempuri.org/XMLSchema1.xsd"
    elementFormDefault="qualified"
    xmlns="http://tempuri.org/XMLSchema1.xsd"
    xmlns:mstns="http://tempuri.org/XMLSchema1.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="zooAnimals" type="ControlsType"/>

  <xs:complexType name="ControlsType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="Splitter"/>
      <xs:element name="CheckBox"/>
      <xs:element name="CheckedCo"/>
      <xs:element name="CheckedLi"/>
      <xs:element name="Color"/>
      <xs:element name="ComboBox"/>
      <xs:element name="DateTime"/>
      <xs:element name="GroupBox"/>
      <xs:element name="ImageBox"/>
      <xs:element name="Label" />
      <xs:element name="ListBox" />
      <xs:element name="MaskText"/>
      <xs:element name="Numeric" />
      <xs:element name="Panel" />
      <xs:element name="RichText"/>
      <xs:element name="Tab"/>
      <xs:element name="TabContro"/>
      <xs:element name="TextBox" />
      <xs:element name="Time"/>
      <xs:element name="TrackBar"/>
      <xs:element name="TreeView"/>
      <xs:element name="WebBrowse"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="FormConfigsType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="Text"            type="WindowStateType" maxOccurs="unbounded"/>
      <xs:element name="Width"           type="WindowStateType"/>
      <xs:element name="Height"          type="WindowStateType"/>
      <xs:element name="StartPosition"   type="WindowStateType"/>
      <xs:element name="WindowState"     type="WindowStateType"/>
    </xs:choice>
  </xs:complexType>
  <xs:simpleType name="StartPositionType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Manual"                       />
      <xs:enumeration value="CenterScreen"                 />
      <xs:enumeration value="WindowsDefaultLocation"       />
      <xs:enumeration value="WindowsDefaultBounds"         />
      <xs:enumeration value="CenterParent"                 />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="WindowStateType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal"                       />
      <xs:enumeration value="Minimized"                 />
      <xs:enumeration value="Maximized"       />
    </xs:restriction>
  </xs:simpleType>

</xs:schema>
